﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpleadoEditForm.aspx.cs" 
Inherits="UILGestion.Seguridad.Empleado.EmpleadoEditForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <%@ Register src="~/Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc1" %>
 <%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="cc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../Scripts/Empleado.js" type="text/javascript"></script>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
       <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />



</head>
<body>
    <form id="form1" runat="server">
   <uc1:menuCtrl ID="menuCtrl1" runat="server" />
   
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
    <asp:Panel ID="pnlMain" runat="server" 
   CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
                 <asp:Label ID="Label2" runat="server" Text="EDITAR EMPLEADO" style="font-size: large; color: #960818"></asp:Label>
                 </asp:Panel>


  <asp:Panel ID="PanelButtom" runat="server"   class="ms-crm-Form-Body" >
       
   
                 <table  width="100%">
                 <tr>
                 <td  width="80%">
                   <table >
<tr>

<td>
    <asp:Button ID="saveBTN" runat="server" Text="Guardar"    CssClass="ms-crm-List-Header"   OnClick="btnSaveContinue_Click"
          /></td> 
        
<td>
    <asp:Button ID="cancelarBTN" runat="server" Text="Cancelar"    CssClass="ms-crm-List-Header"  OnClick="btnSaveContinue_Click"
        Width="80px" /></td>
       

        <td></td>
        <td>
            &nbsp;</td>  
        
 
</tr>
</table>
                 </td>
                 <td>
               
                 </td>
                 </tr>
                 </table>
     </asp:Panel>
    
   <asp:Panel ID="Panel1" runat="server" BackColor="White"
  
           >

       <input id="internalid" type="hidden"  runat="server"/>
       <input id="type" type="hidden"  runat="server"/>
       
             
      
        
<table >
                     <tr>
                      
                         <td   align="right" valign="top">
                             Descripción:</td>
                         <td  Width="550px" >
                          <asp:UpdatePanel ID="descripiconUpdatePanel" runat="server" UpdateMode="Conditional">
                          <ContentTemplate>
                                    <asp:TextBox ID="descripcionTextBox" runat="server" Width="250px"   ></asp:TextBox>                             
                                    <asp:CheckBox ID="AutoCheckBox" runat="server" Text="Auto"     
                                         Checked="false"  />
                          </ContentTemplate>
                         </asp:UpdatePanel>
                         </td>
                         
                         <td >
                             Telefono:</td>
                         <td Width="550px">
                             <asp:TextBox ID="telefonoTextBox" runat="server" Width="200px" TabIndex="6"></asp:TextBox>
                         </td>
                         
                     </tr>
                     <tr>
                         <td   align="right">
                             Sr./Sra.</td>
                         <td class="style11">
                             <asp:TextBox ID="srtTextBox" runat="server"    
                                 TabIndex="1"></asp:TextBox>
                                  <%--AutoPostBack="true" 
                                 OnTextChanged="nombreTextBox_TextChanged"--%>

                         </td>
                       
                         <td class="style11">
                             Fax:</td>
                         <td class="style11">
                             <asp:TextBox ID="faxTextBox" runat="server" Width="200px" TabIndex="7"></asp:TextBox>
                         </td>
                       
                     </tr>
                     <tr>
                         <td   align="right" width="200px">
                             Nombre:</td>
                         <td class="style11">
                             <asp:TextBox ID="nombreTextBox" runat="server" Width="150px"   
                            TabIndex="2"></asp:TextBox>
                              <%--AutoPostBack="true" 
                                 OnTextChanged="nombreTextBox_TextChanged"--%>
                         </td>
                         <td class="style11">
                             Email:</td>
                         <td class="style11">
                             <asp:TextBox ID="emailTextBox" runat="server" Width="250px" TabIndex="8"></asp:TextBox>
                         </td>
                         </tr>
                     <tr>
                         <td   align="right">
                             Apellido Paterno:</td>
                         <td class="style11">
                             <asp:TextBox ID="apePatTextBox" runat="server" Width="150px"  TabIndex="3"   ></asp:TextBox>
                             <%--AutoPostBack="true" 
                                 OnTextChanged="nombreTextBox_TextChanged"--%>
                         </td>
                       
                         <td class="style11">
                             dirección:</td>
                         <td class="style11">
                             <asp:TextBox ID="direccionTXT" runat="server" Height="50px" 
                                 TextMode="MultiLine" Width="250px" TabIndex="9"></asp:TextBox>
                         </td>
                       
                     </tr>
                     <tr>
                         <td  Width="150px" align="right">
                             Apellido Materno:</td>
                         <td class="style11">
                             <asp:TextBox ID="ApeMatTextBox" runat="server" Width="150px"  TabIndex="4"   ></asp:TextBox>
<%--
                             AutoPostBack="true" 
                                 OnTextChanged="nombreTextBox_TextChanged"--%>
                         </td>
                         
                         <td class="style11">
                             Activo:</td>
                         <td class="style11">
                             <asp:CheckBox ID="activoCheckBox" runat="server" TabIndex="10" />
                         </td>
                         
                     </tr>
                     <tr>
                         <td align="right" Width="150px">
                             DNI:</td>
                         <td class="style11">
                             <asp:TextBox ID="dniTextBox" runat="server"  Width="150px" TabIndex="5"></asp:TextBox>
                         </td>
                         <td class="style11">
                             &nbsp;</td>
                         <td class="style11">
                             &nbsp;</td>
                     </tr>
                 </table>
     


        <asp:TabContainer ID="TabContainer1" runat="server"><asp:TabPanel runat="server" HeaderText="Acceso" ID="accesoTabPanel" >
       <ContentTemplate  >

         <asp:Panel ID="Panel3" runat="server" BorderWidth="0px" 
                >
                
                <table width="800px">
                <tr>
                <td align="right" width="150px">Tiene Acceso:</td><td>
                    <asp:CheckBox ID="accesoCheckBox" runat="server" />
                   </td>
                    <td rowspan="3"  Width="450px">
                        <asp:Panel ID="Panel4" runat="server" GroupingText="Modulos" BackColor="White">
                            <table class="ms-crm-MaxWidth">
                                <tr>
                                    <td align="right" width="80px">
                                        Compras:</td>
                                    <td width="120px">
                                        <asp:CheckBox ID="modCompraCHK" runat="server" />
                                    </td>
                                    <td align="right">
                                        Aprobacion OC :</td>
                                    <td rowspan="3">
                                        <asp:DropDownList runat="server" ID="monedaDDL" Width="90px" ></asp:DropDownList>
                                         <asp:TextBox ID="totalAprobadoOCTXT" runat="server" Width="80px"></asp:TextBox>
                                        <br /> *monto 0  indica que no puede aprobar OC sin comparativo
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        Ventas:</td>
                                    <td>
                                        <asp:CheckBox ID="modVentaCHK" runat="server"  />
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        Almacen:</td>
                                    <td>
                                        <asp:CheckBox ID="modAlmacenCHK" runat="server" />
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                    </tr><tr><td align="right" class="style1">Usuario:</td><td align="left" >
                        
                        <asp:TextBox ID="usuarioTextBox" runat="server" Width="150px"></asp:TextBox>
                       </td>
                    </tr><tr><td align="right">Password: </td>
                        <td align="left">
                            
                            <asp:TextBox ID="passwordTextBox" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                        </td>
                    </tr></table>
                      
         
          </asp:Panel>
                                  
         </ContentTemplate>
          
           
           
           </asp:TabPanel></asp:TabContainer>
  
         

                 </asp:Panel>
    </form>
</body>
</html>
